package ws.com.utils;

import com.google.gson.Gson;

public class BeanUtils {
    private static final Gson gson = new Gson();


    public static <T> T JSONString2Object(String jsonString, Class<T> clazz){
        T t = gson.fromJson(jsonString, clazz);

        return t;
    }
}
